<div id="page-wrapper">
    <div class="row headline" >
        <div class="col-md-4 headline-title" >
            <h3>个人信息 <img src="assets/img/angle-right.png" alt="" class="tubiao"></h3><h4>班课报课单</h4>
        </div>
        <div class="col-md-3" style="text-align: right" ng-if="admin==true">
            <schoolcampus></schoolcampus>
        </div>
        <div class="col-md-1" ng-if="admin==true">
            <button class="search-content" style="background: #4da1ff;color: #fff;	box-shadow: #84bdff 0px 0px 8px;" ng-click="find()">搜索</button>
        </div>
    </div>
    <div>
        <table class="table ">
            <thead class="yuangong">
            <tr>
                <th>报课单编号</th>
                <th>学生姓名</th>
                <th>班级名称</th>
                <th>总学费</th>
                <th>实际缴费</th>
                <th>欠费</th>
                <th>缴费方式</th>
                <th>申请状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody class="xuhao">
            <tr ng-repeat="data in datas ">
                <td>{{data.sn}}</td>
                <td>{{data.student_name}}</td>
                <td>{{data.class_name}}</td>
                <td>{{data.tuition_total}}</td>
                <td>{{data.tuition_reality}}</td>
                <td>{{data.tuition_lack}}</td>
                <td>{{data.method_name}}</td>
                <td ng-if="data.state==1">申请中</td>
                <td ng-if="data.state==2">申请成功</td>
                <td ng-if="data.state==3">驳回</td>
                <td width="30%">
                    <span class="operation fa fa-file-text"  ng-click="daily_adopt($index)" ng-if="data.state==1">通过</span>
                    <span class="operation fa fa-file-text"  ng-click="daily_reject($index)" ng-if="data.state==1">驳回</span>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <!--查看报课单-->
    <div class="container-fluid text-center">
        <!-- 模态框（Modal） -->
        <div class="modal fade" id="check" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
            <div class="modal-dialog" style="width: 1000px;">
                <div class="modal-content" >
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h2 class="modal-title" > <span class="fa fa-edit">创建报课单</span></h2>
                    </div>
                    <form action="index.php" method="post">
                        <div class="modal-body">
                            <!-- 提交表单到服务器 -->
                            <table width="100%">
                                <tbody class="modal-information">
                                <tr>
                                    <td  height="52" style="width: 100px;font-size: 24px">报课单编号：</td>
                                    <td>
                                        <span class="check-number" style="background: #fef6f9;border: 1px solid #fce5ee;" >20143081301</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td  height="52" >
                                        <span class="check-number" style="background: #fef6f9;border: 1px solid #fce5ee;" >17春季物化生培优班</span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <table width="100%">
                                <tbody class="class-daily">
                                <tr class="paikeconter">
                                    <td  height="52" >科目</td>
                                    <td>单价</td>
                                    <td>节数</td>
                                    <td>老师</td>
                                    <td>时/次（每次小时数）</td>
                                    <td>学费</td>
                                </tr>
                                <tr class="paikeconter">
                                    <td  height="52" >
                                        <span class="check-ex" style="background: #fef6f9;border: 1px solid #fce5ee">语文</span>
                                    </td>
                                    <td>
                                        <span class="check-ex" style="background: #fef6f9;border: 1px solid #fce5ee">200</span>
                                    </td>
                                    <td>
                                        <span class="check-ex" style="background: #eae7ff;border: 1px solid #e7e8ff" >5</span>
                                    </td>
                                    <td>
                                        <span class="check-ex"  style="background: #edf5ff;border: 1px solid #f2faff" >李老师</span>
                                    </td>
                                    <td>
                                        <span class="check-ex"   style="background: #eae7ff;border: 1px solid #e7e8ff" >2</span>
                                    </td>
                                    <td>
                                        <span class="check-ex"  style="background: #fef6f9;border: 1px solid #fce5ee">5000</span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <table width="100%">
                                <tbody class="modal-tf">
                                <tr>
                                    <td height="52">缴费方式</td>
                                    <td height="52">实际缴费</td>
                                    <td height="52">总学费</td>
                                    <td height="52">欠费</td>
                                </tr>
                                <tr class="paikeconter">
                                    <td height="52">
                                        <span  class="check-ex"  style="background: #fef6f9;border: 1px solid #fce5ee" >现金</span>
                                    </td>
                                    <td>
                                        <span  class="check-ex"  style="background: #fef6f9;border: 1px solid #fce5ee" >2000</span>
                                    </td>
                                    <td>
                                        <span class="check-ex"  style="background: #fef6f9;border: 1px solid #fce5ee" >5000</span>
                                    </td>
                                    <td>
                                        <span class="check-ex" style="background: #fef6f9;border: 1px solid #fce5ee" >3000</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="52">校长</td>
                                    <td height="52">学生/家长</td>
                                </tr>
                                <tr class="paikeconter">
                                    <td>
                                        <span class="check-ex" style="background: #edf5ff;border: 1px solid #f2faff" >李玉梅</span>
                                    </td>
                                    <td>
                                        <span class="check-ex" style="background: #edf5ff;border: 1px solid #f2faff" >张三<span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="modal-footer">
                            <button type="submit" class="btn btn-primary-tf" style="margin-right: 40px" >通过</button>
                            <button type="submit" class="btn btn-primary-tf" >驳回</button>
                        </div>
                    </form>
                </div>
                <!-- /.modal-content -->
            </div>
            <!-- /.modal -->
        </div>
    </div>
    <div class="row form-inline">
        <div class="col-md-8">
            <uib-pagination
                    total-items="page.totalCount"
                    ng-model="page.pageNo"
                    max-size="5"
                    class="samplePage pagination"
                    boundary-links="true"
                    force-ellipses="false"
                    first-text="首页"
                    last-text="末页"
                    previous-text="上一页"
                    next-text="下一页"
                    items-per-page="page.limit"
                    ng-change="pageChanged()"
                    boundary-link-numbers="true"
            >
            </uib-pagination>
        </div>
        <div class="col-md-4">
            <input type="text" class="form-control" style="width:100px;margin:25px 0" name="" ng-model="go" />
            <a class="btn btn-primary btn-sm" ng-click="setPage(go)">跳转</a>
        </div>
    </div>


</div>
